/*
 * @Description: 
 * @Version: 1.0
 * @Author: tao
 * @Date: 2021-02-22 14:58:44
 * @LastEditors: tao
 * @LastEditTime: 2021-04-19 14:50:14
 */
import {
  request
} from './request';

export function signIn(data) {
  return request({
    url: '/login/login',
    method: 'post',
    data
  }, {
    loadTxt: '登录中',
    successTxt: '',
  })
}

export function editPassword(data) {
  return request({
    url: '/user/adminPass',
    method: 'post',
    data
  })
}